import request from "@/utils/request"
// 查询缴费记录
export function queryProjectRenewalRecords (data) {
  return request({
    url: "/bProjectToFee/queryProjectRenewalRecords",
    method: "get",
    params: data
  })
}
// 查询套餐详情
export function queryAllProjectToFee (data) {
  return request({
    url: "/bProjectToFee/queryAllProjectToFee",
    method: "get",
    params: data
  })
}
// 查询套餐余量
export function queryProjectAllowance (data) {
  return request({
    url: "/bProjectToFee/queryProjectAllowance",
    method: "get",
    params: data
  })
}
// 查询短信包余量
export function queryPageSmsPackage (data) {
  return request({
    url: "/bProjectToFee/queryPageSmsPackage",
    method: "get",
    params: data
  })
}

//
export function queryAllProject (data) {
  return request({
    url: "/bProjectToFee/queryAllProject",
    method: "get",
    params: data
  })
}

export function insertCashFlow(data) {
  return request({
    url: "/bProjectToFee/insertCashFlow",
    method: "POST",
    data: data
  })
}

export function queryProjectCostType (data) {
  return request({
    url: "/bProjectToFee/queryProjectCostType",
    method: "get",
    params: data
  })
}

export function queryOneCashFlow (data) {
  return request({
    url: "/bProjectToFee/queryOneCashFlow",
    method: "get",
    params: data
  })
}
